//
//  main.swift
//  NEW
//
//  Created by huanglei on 2017/9/11.
//  Copyright © 2017年 huanglei15. All rights reserved.
//

 import Foundation
func randomSmallCaseString(length: Int) -> String {
    var a = ""
    for _ in 0..<length {
        let randomNumber = arc4random() % 26 + 97
        let randomChar = Character(UnicodeScalar(randomNumber)!)
        a.append(randomChar)
    }
    return a
}


for i in 0..<1000{
    let gf = GirlFriend(age:Int(arc4random()%100)+1  , name:randomSmallCaseString(length: 6))
    gf.date()
}
